import React from "react";


class App extends React.Component {
    constructor (props) {
        super() // 不传props的话，在构造器里this.props是undefind， render中一直有值
        console.log('this.props',this.props)
    }
    render () {
        console.log('this.props',this.props)
        return (
            <div>111</div>
        )
    }
}
export default App